@echo off
call npm run build
echo npm done
python cvt_utf8_sig.py
cp -r src/json dist/json
cp -r src/img/* dist/img/

pushd dist
set dateStr=%date:~0,4%%date:~5,2%%date:~8,2%
tar -cf ../dist.tar *
tar -cf ../dist_%dateStr%.tar *
popd

pause
